﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace HOOMT
{
    public partial class NonFunctionAddDialog : Form
    {
        public NonFunctionAddDialog()
        {
            InitializeComponent();
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
            this.MaximizeBox = false;
        }
        public String NonFunctionType
        {
            get
            {
                return quantifiable.Checked ? "Quantifiable" : "UnQuantifiable";
            }
            set
            {
                if (value.Equals("Quantifiable"))
                {
                    quantifiable.Checked = true;
                }
                else
                {
                    unquantifiable.Checked = true;
                }
            }
        }
        public String NonFunctionName
        {
            get
            {
                return nonName.Text;
            }
            set
            {
                nonName.Text = value;
            }
        }
        public String NonFunctionValue
        {
            get
            {
                return nonValue.Text;
            }
            set
            {
                nonValue.Text = value;
            }
        }
        public String Description
        {
            get
            {
                return nonDescription.Text;
            }
            set
            {
                nonDescription.Text = value;
            }
        }
    }
}
